package grape.wx.rest.mp.basic.mapper;

import grape.common.rest.mvc.BaseWebMapper;
import grape.wx.service.mp.MpProperties;
import grape.wx.rest.mp.basic.vo.MpConfigVo;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * Created by yangwei
 * Created at 2020/7/22 12:41
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface MpConfigWebMapper extends BaseWebMapper {

    MpConfigVo configToVo(MpProperties.MpConfig config);
}
